<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo $this->_var['meta']; ?>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_var['css_path']; ?>/global.css" />
<link rel="stylesheet" type="text/css" href="<?php echo $this->_var['css_path']; ?>/style.css" />
</head>
<body>
<?php echo $this->fetch('top.html'); ?>
<?php echo $this->fetch('header.html'); ?>
 <div class="maincontent">
    <div id="studydetail_middle">
         <div class="study_ad"><img src="<?php echo $this->_var['images_path']; ?>/study_admain.png" /></div>
         <div class="studydetail_left">
         	<h3><?php echo $this->_var['data']['name']; ?></h3>
            <p class="detail_title">发布人：<?php echo $this->_var['data']['author']; ?>  浏览量：<?php echo $this->_var['data']['clicks']; ?>次  发布日期：<?php echo Date::timeformat($this->_var['data']['add_time'],3); ?></p>
            <div class="studydetail_content">
               <?php echo $this->_var['data']['content']; ?>
               <table width="100%">
                   <tr>
                       <td width="50%" align="left">前一篇：<?php if (! empty ( $this->_var['pre_new'] )): ?><a href="<?php echo $this->_var['pre_new']['url']; ?>"><?php echo $this->_var['pre_new']['name']; ?></a><?php else: ?>无<?php endif; ?></td>
                       <td  width="50%" align="right">后一篇：<?php if (! empty ( $this->_var['next_new'] )): ?><a href="<?php echo $this->_var['next_new']['url']; ?>"><?php echo $this->_var['next_new']['name']; ?></a><?php else: ?>无<?php endif; ?></td>
                   </tr>
               </table>
            </div>
            
<div class="clear"></div>
            <div class="studydetail_discuss">
            	<div class="header">评论</div>
               	
                <div class="studydetail_reply">
                    <div class="study_replyphoto"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></div>
                    <div class="study_replycontent">
                        <p class="study_replyp1"><a href="#">花夕絮</a>&nbsp;&nbsp;评论了我想要这个东西，你给不？不给我揍人拉评论了我想要这个东评论了我想要这这个东</p>
                        <p class="study_replyp2">发表于2010-12-12</p>
                        <p class="study_replyp3"><a href="#">评论</a> &nbsp;|&nbsp; <a href="#">回复</a></p>
                    </div>
                    <div class="clear"></div>    
                </div>  
                 <div class="studydetail_reply">
                    <div class="study_replyphoto"><img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" /></div>
                    <div class="study_replycontent">
                        <p class="study_replyp1"><a href="#">花夕絮</a>&nbsp;&nbsp;评论了我想要这个东西，你给不？不给我揍人拉评论了我想要这个东评论了我想要这这个东</p>
                        <p class="study_replyp2">发表于2010-12-12</p>
                        <p class="study_replyp3"><a href="#">评论</a> &nbsp;|&nbsp; <a href="#">回复</a></p>
                    </div>
                    <div class="clear"></div>    
                </div>                 
            </div>            
            <div class="clear"></div>
            
             <div class="content_photo">
                 <img src="<?php echo $this->_var['images_path']; ?>/per_pic.png" />
                 <p><span><a href="#">花夕絮</a></span></p>
             </div>
             <div class="content_select">
                  <textarea name="content" rows="4" cols="50"></textarea>
                  <p><input type="submit" name="discuss_submit" value="发布评论" /></p>
              </div>
         </div>
        <div class="studydetail_right">
         	<div class="studydetail_groom">
            	<div class="header"><h3>为您推荐</h3><span><a href="#">更多>></a></span></div>
            	<ul class="studydetail_ul">
                	<li>免费网站，免费为您服务推荐</li>
                    <li>免费网站，免费为您推荐服务</li>
                    <li>免费网站，免费为您为您推荐</li>
                    <li>免费网站，免费为您为您推荐</li>
                    <li>免费网站，免费为您为您推荐</li>
                    <li>免费网站，免费为您为您推荐</li>
                    <li>免费网站，免费为您推荐服务</li>
                </ul>                
            </div>
            <img src="<?php echo $this->_var['images_path']; ?>/detail_bg.png" />
            <div class="studydetail_love">
            	<div class="header"><h3>猜您喜欢</h3><span><a href="#">更多>></a></span></div>
            	<ul class="studydetail_ul">
                    <li>免费网站，免费为您为您推荐</li>
                    <li>免费网站，免费为您推荐服务</li>
                    <li>免费网站，免费为您为您推荐</li>
                    <li>免费网站，免费为务为您推荐</li>
                    <li>免费网站，免费为务为您推荐</li>
                    <li>免费网站，免费服务为您推荐</li>
                    <li>免费网站，免费为您推荐服务</li>
                    <li>免费网站，免您服务为您推荐</li>
                    <li>免费网站，为您服务为您推荐</li>
                    <li>免费网站，为您为您推荐服务</li>
                </ul>                
            </div>
            <img src="<?php echo $this->_var['images_path']; ?>/detail_bg.png" />
         </div>
    </div>
</div>
<?php echo $this->fetch('footer.html'); ?>
</body>
</html>
